GDK_SURFACE_IMPL_WAYLAND (attached_grab_surface->impl);
grab_device = gdk_seat_get_pointer (attached_impl->grab_input_seat);
transient_for =
- gdk_device_get_surface_at_position (grab_device,
- NULL, NULL);
+ gdk_device_get_surface_at_position_double (grab_device, NULL, NULL);
}
}
else
{
grab_device = gdk_seat_get_pointer (impl->grab_input_seat);
transient_for =
- gdk_device_get_surface_at_position (grab_device, NULL, NULL);
+ gdk_device_get_surface_at_position_double (grab_device, NULL, NULL);
}
if (transient_for)
PACKET packet;
gint root_x, root_y;
gint num_axes;
- gint x, y;
+ double x, y;
guint translated_buttons, button_diff, button_mask;
/* Translation from tablet button state to GDK button state for
* buttons 1-3 - swap button 2 and 3.
}
device_manager = GDK_DEVICE_MANAGER_WIN32 (_gdk_device_manager);
- window = gdk_device_get_surface_at_position (device_manager->core_pointer, &x, &y);
+ window = gdk_device_get_surface_at_position_double (device_manager->core_pointer, &x, &y);
if (window)
g_object_ref (window);
GDK_NOTE (EVENTS_OR_INPUT,
- g_print ("gdk_input_other_event: window=%p %+d%+d\n",
+ g_print ("gdk_input_other_event: window=%p %+g%+g\n",
window ? GDK_SURFACE_HWND (window) : NULL, x, y));
if (msg->message == WT_PACKET || msg->message == WT_CSRCHANGE)